Systems and methods for selectable positive feedback data processing

ABSTRACT

The present inventions are related to systems and methods for data processing, and more particularly to systems and methods for selectable positive feedback data processing.

BACKGROUND OF THE INVENTION

The present inventions are related to systems and methods for data processing, and more particularly to systems and methods for selectable positive feedback data processing.

Various data transfer systems have been developed including storage systems, cellular telephone systems, radio transmission systems. In each of the systems data is transferred from a sender to a receiver via some medium. For example, in a storage system, data is sent from a sender (i.e., a write function) to a receiver (i.e., a read function) via a storage medium. In some cases, the data processing function uses a variable number of iterations through a data detector circuit and/or data decoder circuit depending upon the characteristics of the data being processed. As data is passed between the data detector circuit and the data decoder circuit, the receiving circuit may actually make things worse. This results in unnecessary additional iterations through the data processing circuit.

Hence, for at least the aforementioned reasons, there exists a need in the art for advanced systems and methods for enhanced data processing.

BRIEF SUMMARY OF THE INVENTION

The present inventions are related to systems and methods for data processing, and more particularly to systems and methods for selectable positive feedback data processing.

Various embodiments of the present invention provide data processing systems that include a data quality determination circuit and an output selector circuit. The data quality determination circuit operable to indicate a quality of a data set. The output selector circuit operable to select between a positive feedback and a neutral feedback based at least in part on the quality.

This summary provides only a general outline of some embodiments of the invention. The phrases “in one embodiment,” “according to one embodiment,” “in various embodiments”, “in one or more embodiments”, “in particular embodiments” and the like generally mean the particular feature, structure, or characteristic following the phrase is included in at least one embodiment of the present invention, and may be included in more than one embodiment of the present invention. Importantly, such phases do not necessarily refer to the same embodiment. Many other embodiments of the invention will become more fully apparent from the following detailed description, the appended claims and the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

A further understanding of the various embodiments of the present invention may be realized by reference to the figures which are described in remaining portions of the specification. In the figures, like reference numerals are used throughout several figures to refer to similar components. In some instances, a sub-label consisting of a lower case letter is associated with a reference numeral to denote one of multiple similar components. When reference is made to a reference numeral without specification to an existing sub-label, it is intended to refer to all such multiple similar components.

FIG. 1 shows a storage system including quality based positive feedback circuitry in accordance with various embodiments of the present invention;

FIG. 2 depicts a data transmission system including quality based positive feedback circuitry in accordance with one or more embodiments of the present invention;

FIG. 3 a shows a data processing circuit including a positive feedback control circuit in accordance with some embodiments of the present invention;

FIG. 3 b shows one possible implementation of the soft data based quality metric calculation circuit of FIG. 3 a in accordance with some embodiments of the present invention;

FIG. 3 c shows one possible implementation of the data detector circuit including selectable positive feedback in accordance with one or more embodiments of the present invention;

FIG. 3 d shows one possible implementation of the data decoder circuit including selectable positive feedback in accordance with one or more embodiments of the present invention; and

FIGS. 4 a-4 c are flow diagrams showing a method for data processing including selectable positive feedback in accordance with some embodiments of the present invention.

DETAILED DESCRIPTION OF THE INVENTION

The present inventions are related to systems and methods for data processing, and more particularly to systems and methods for selectable positive feedback data processing.

Various embodiments of the present invention provide for sector quality calculation. Such sector quality calculation generates a sector quality indicator indicative of how close a sector is to convergence. As a sector gets near convergence as indicated by the sector quality indicator, providing standard neutral feedback between a data detector circuit and data decoder circuit can increase the number of errors in the data set. As used herein, “neutral feedback” indicates extrinsic information (i.e., an output soft data less an input soft data). To avoid this increase in errors, when sector gets near convergence as indicated by the sector quality indicator, positive feedback is selected. As used herein, “positive feedback” indicates the output soft data.

Various embodiments of the present invention provide data processing systems that include a data quality determination circuit and an output selector circuit. The data quality determination circuit operable to indicate a quality of a data set. The output selector circuit operable to select between a positive feedback and a neutral feedback based at least in part on the quality. In some instances of the aforementioned embodiments, the systems further include a data detector circuit operable to apply a data detection algorithm to the data set guided by a decoder output to yield the positive feedback, and a summation circuit operable to subtract the decoder output from the positive feedback to yield the neutral feedback. In other instances of the aforementioned embodiments, the systems further include a data decoder circuit operable to apply a data decode algorithm to the data set guided by a decoder output to yield the positive feedback, and a summation circuit operable to subtract the decoder output from the positive feedback to yield the neutral feedback. In various cases, the quality of the data set corresponds to a number of errors remaining in the data set. In some such cases, the systems further include a comparator circuit operable to compare the quality of the data set with a threshold value. Selection between the positive feedback and the neutral feedback is based on a result of the comparison of the quality of the data set with a threshold value.

Other embodiments of the present invention provide methods for data processing that include: applying a data decode algorithm by a data decoder circuit to a decoder input derived from a data set guided by an interim decoded output to yield a positive feedback; calculating a quality metric for the data set; subtracting the interim decoded output from the positive feedback to yield a neutral feedback; and selecting one of the positive feedback and the neutral feedback as an updated decoded output based at least in part on the quality metric. In some instances of the aforementioned embodiments, the methods further include applying a data detection algorithm to the data set guided by the updated decoded output to yield a raw detected output.

Turning to FIG. 1, a storage system 100 including a read channel circuit 110 having positive feedback circuitry in accordance with various embodiments of the present invention. Storage system 100 may be, for example, a hard disk drive. Storage system 100 also includes a preamplifier 170, an interface controller 120, a hard disk controller 166, a motor controller 168, a spindle motor 172, a disk platter 178, and a read/write head 176. Interface controller 120 controls addressing and timing of data to/from disk platter 178. The data on disk platter 178 consists of groups of magnetic signals that may be detected by read/write head assembly 176 when the assembly is properly positioned over disk platter 178. In one embodiment, disk platter 178 includes magnetic signals recorded in accordance with either a longitudinal or a perpendicular recording scheme.

In a typical read operation, read/write head assembly 176 is accurately positioned by motor controller 168 over a desired data track on disk platter 178. Motor controller 168 both positions read/write head assembly 176 in relation to disk platter 178 and drives spindle motor 172 by moving read/write head assembly to the proper data track on disk platter 178 under the direction of hard disk controller 166. Spindle motor 172 spins disk platter 178 at a determined spin rate (RPMs). Once read/write head assembly 176 is positioned adjacent the proper data track, magnetic signals representing data on disk platter 178 are sensed by read/write head assembly 176 as disk platter 178 is rotated by spindle motor 172. The sensed magnetic signals are provided as a continuous, minute analog signal representative of the magnetic data on disk platter 178. This minute analog signal is transferred from read/write head assembly 176 to read channel circuit 110 via preamplifier 170. Preamplifier 170 is operable to amplify the minute analog signals accessed from disk platter 178. In turn, read channel circuit 110 decodes and digitizes the received analog signal to recreate the information originally written to disk platter 178. This data is provided as read data 103 to a receiving circuit. A write operation is substantially the opposite of the preceding read operation with write data 101 being provided to read channel circuit 110. This data is then encoded and written to disk platter 178.

As part of processing the received information, read channel circuit 110 utilizes a data processing circuit having a sector quality calculation circuit. The sector quality calculation circuit calculates a sector quality metric for sectors of data being processed. The sector quality metrics provide an indication of when a sector of data may be nearing convergence. As a sector gets near convergence as indicated by the sector quality indicator, providing standard neutral feedback between a data detector circuit and data decoder circuit can increase the number of errors in the data set. To avoid this increase in errors, when sector gets near convergence as indicated by the sector quality indicator, positive feedback is selected. In some cases, read channel circuit 110 may be implemented to include a data processing circuit similar to that discussed below in relation to FIGS. 3 a-3 d. Further, the data processing may be accomplished consistent with one of the approaches discussed below in relation to FIGS. 4 a-4 c.

It should be noted that storage system 100 may be integrated into a larger storage system such as, for example, a RAID (redundant array of inexpensive disks or redundant array of independent disks) based storage system. Such a RAID storage system increases stability and reliability through redundancy, combining multiple disks as a logical unit. Data may be spread across a number of disks included in the RAID storage system according to a variety of algorithms and accessed by an operating system as if it were a single disk. For example, data may be mirrored to multiple disks in the RAID storage system, or may be sliced and distributed across multiple disks in a number of techniques. If a small number of disks in the RAID storage system fail or become unavailable, error correction techniques may be used to recreate the missing data based on the remaining portions of the data from the other disks in the RAID storage system. The disks in the RAID storage system may be, but are not limited to, individual storage systems such as storage system 100, and may be located in close proximity to each other or distributed more widely for increased security. In a write operation, write data is provided to a controller, which stores the write data across the disks, for example by mirroring or by striping the write data. In a read operation, the controller retrieves the data from the disks. The controller then yields the resulting read data as if the RAID storage system were a single disk.

A data decoder circuit used in relation to read channel circuit 110 may be, but is not limited to, a low density parity check (LDPC) decoder circuit as are known in the art. Such low density parity check technology is applicable to transmission of information over virtually any channel or storage of information on virtually any media. Transmission applications include, but are not limited to, optical fiber, radio frequency channels, wired or wireless local area networks, digital subscriber line technologies, wireless cellular, Ethernet over any medium such as copper or optical fiber, cable channels such as cable television, and Earth-satellite communications. Storage applications include, but are not limited to, hard disk drives, compact disks, digital video disks, magnetic tapes and memory devices such as DRAM, NAND flash, NOR flash, other non-volatile memories and solid state drives.

In addition, it should be noted that storage system 100 may be modified to include solid state memory that is used to store data in addition to the storage offered by disk platter 178. This solid state memory may be used in parallel to disk platter 178 to provide additional storage. In such a case, the solid state memory receives and provides information directly to read channel circuit 110. Alternatively, the solid state memory may be used as a cache where it offers faster access time than that offered by disk platted 178. In such a case, the solid state memory may be disposed between interface controller 120 and read channel circuit 110 where it operates as a pass through to disk platter 178 when requested data is not available in the solid state memory or when the solid state memory does not have sufficient storage to hold a newly written data set. Based upon the disclosure provided herein, one of ordinary skill in the art will recognize a variety of storage systems including both disk platter 178 and a solid state memory.

Turning to FIG. 2, a data transmission system 291 including a receiver 295 having quality based priority scheduling circuitry is shown in accordance with various embodiments of the present invention. Data transmission system 291 includes a transmitter 293 that is operable to transmit encoded information via a transfer medium 297 as is known in the art. The encoded data is received from transfer medium 297 by a receiver 295. Receiver 295 processes the received input to yield the originally transmitted data. As part of processing the received information, receiver 295 utilizes a data processing circuit having a sector quality calculation circuit. The sector quality calculation circuit calculates a sector quality metric for sectors of data being processed. The sector quality metrics provide an indication of when a sector of data may be nearing convergence. As a sector gets near convergence as indicated by the sector quality indicator, providing standard neutral feedback between a data detector circuit and data decoder circuit can increase the number of errors in the data set. To avoid this increase in errors, when sector gets near convergence as indicated by the sector quality indicator, positive feedback is selected. In some cases, receiver may be implemented to include a data processing circuit similar to that discussed below in relation to FIGS. 3 a-3 d. Further, the data processing may be accomplished consistent with one of the approaches discussed below in relation to FIGS. 4 a-4 c.

FIG. 3 a shows a data processing circuit 300 including a positive feedback control circuit 465 in accordance with some embodiments of the present invention. Data processing circuit 300 includes an analog front end circuit 310 that receives an analog signal 305. Analog front end circuit 310 processes analog signal 305 and provides a processed analog signal 312 to an analog to digital converter circuit 314. Analog front end circuit 310 may include, but is not limited to, an analog filter and an amplifier circuit as are known in the art. Based upon the disclosure provided herein, one of ordinary skill in the art will recognize a variety of circuitry that may be included as part of analog front end circuit 310. In some cases, analog signal 305 is derived from a read/write head assembly (not shown) that is disposed in relation to a storage medium (not shown). In other cases, analog signal 305 is derived from a receiver circuit (not shown) that is operable to receive a signal from a transmission medium (not shown). The transmission medium may be wired or wireless. Based upon the disclosure provided herein, one of ordinary skill in the art will recognize a variety of source from which analog input 305 may be derived.

Analog to digital converter circuit 314 converts processed analog signal 312 into a corresponding series of digital samples 316. Analog to digital converter circuit 314 may be any circuit known in the art that is capable of producing digital samples corresponding to an analog input signal. Based upon the disclosure provided herein, one of ordinary skill in the art will recognize a variety of analog to digital converter circuits that may be used in relation to different embodiments of the present invention. Digital samples 316 are provided to an equalizer circuit 320. Equalizer circuit 320 applies an equalization algorithm to digital samples 316 to yield an equalized output 325. In some embodiments of the present invention, equalizer circuit 320 is a digital finite impulse response filter (DFIR) circuit as are known in the art. It may be possible that equalized output 325 may be received directly from a storage device in, for example, a solid state storage system. In such cases, analog front end circuit 310, analog to digital converter circuit 314 and equalizer circuit 320 may be eliminated where the data is received as a digital data input. Equalized output 325 is stored to an input buffer 353 that includes sufficient memory to maintain one or more codewords until processing of that codeword is completed through a data detector circuit 330 and a data decoding circuit 370 including, where warranted, multiple global iterations (passes through both data detector circuit 330 and data decoding circuit 370) and/or local iterations (passes through data decoding circuit 370 during a given global iteration). An output 357 is provided to data detector circuit 330.

Both data detector circuit 330 and data decoder circuit 370 include a selectable positive feedback. Such a selectable positive feedback allows for selection of a raw detected output from data detector circuit 330 to be provided as a detector output 333 when positive feedback is desired. Alternatively, where positive feedback is not desired, a neutral feedback (i.e., an extrinsic detected output comprising the raw detected output less a de-interleaved output 397). Similarly, such a selectable positive feedback allows for selection of a raw decoded output from data decoder circuit 370 to be provided as a decoded output 354 when positive feedback is desired. Alternatively, where positive feedback is not desired, a neutral feedback (i.e., an extrinsic detected output comprising the raw decoded output less a decoded output 371)). Selection between the positive feedback and the neutral feedback is based upon a positive feedback control 367 that is more fully described below.

Turning to FIG. 3 c, one possible implementation of the selectable feedback data detector circuit 635 including selectable positive feedback is shown in accordance with one or more embodiments of the present invention. Selectable feedback data decoder circuit 665 may be used in place of data detector circuit 330 of FIG. 3 a. Selectable feedback data detector circuit 635 includes a data detector circuit 640 that may be, but is not limited to, a maximum a posteriori data detector circuit or a Viterbi algorithm data detector circuit. Data detector circuit 640 applies a data detection algorithm to output 357 guided by, where available, de-interleaved output 397 to yield a raw detected output 642 corresponding to a positive feedback output. Raw detector output 642 is provided to a summation circuit 645 and to an output selector circuit 650. Summation circuit 645 subtracts de-interleaved output 397 from raw detector output 642 to yield an extrinsic output 647 corresponding to a neutral feedback output. Extrinsic output 647 is provided to output selector circuit 650. Selection between extrinsic output 647 and raw detector output 642 is done based upon positive feedback control 367 as more fully described below. Output selector circuit 650 provides the selected output as detected output 333.

Turning to FIG. 3 d, one possible implementation of the selectable feedback data decoder circuit 665 including selectable positive feedback is shown in accordance with one or more embodiments of the present invention. Selectable feedback data decoder circuit 665 may be used in place of data decoder circuit 370 of FIG. 3 a. Selectable feedback data decoder circuit 665 includes a data decoder circuit 670 that may be, but is not limited to, a low density parity check decoder circuit. Data decoder circuit 670 applies a data decode algorithm to output 352 guided by, where available, decoded output 371 to yield a raw decoded output 672 corresponding to a positive feedback output. Raw decoded output 672 is provided to a summation circuit 675 and to an output selector circuit 680. Summation circuit 675 subtracts decoded output 371 from raw decoder output 672 to yield an extrinsic output 677 corresponding to a neutral feedback output. Extrinsic output 677 is provided to output selector circuit 680. Selection between extrinsic output 677 and raw decoder output 672 is done based upon positive feedback control 367 as more fully described below. Output selector circuit 680 provides the selected output as decoded output 354.

Returning to FIG. 3 a, data detector circuit 330 may be a single data detector circuit or may be two or more data detector circuits operating in parallel on different codewords. Whether it is a single data detector circuit or a number of data detector circuits operating in parallel, data detector circuit 330 is operable to apply a data detection algorithm to a received codeword or data set. In some embodiments of the present invention, data detector circuit 330 is a Viterbi algorithm data detector circuit as are known in the art. In other embodiments of the present invention, data detector circuit 330 is a is a maximum a posteriori data detector circuit as are known in the art. Of note, the general phrases “Viterbi data detection algorithm” or “Viterbi algorithm data detector circuit” are used in their broadest sense to mean any Viterbi detection algorithm or Viterbi algorithm detector circuit or variations thereof including, but not limited to, bi-direction Viterbi detection algorithm or bi-direction Viterbi algorithm detector circuit. Also, the general phrases “maximum a posteriori data detection algorithm” or “maximum a posteriori data detector circuit” are used in their broadest sense to mean any maximum a posteriori detection algorithm or detector circuit or variations thereof including, but not limited to, simplified maximum a posteriori data detection algorithm and a max-log maximum a posteriori data detection algorithm, or corresponding detector circuits. Based upon the disclosure provided herein, one of ordinary skill in the art will recognize a variety of data detector circuits that may be used in relation to different embodiments of the present invention. In some cases, one data detector circuit included in data detector circuit 330 is used to apply the data detection algorithm to the received codeword for a first global iteration applied to the received codeword, and another data detector circuit included in data detector circuit 330 is operable apply the data detection algorithm to the received codeword guided by a decoded output accessed from a central memory circuit 350 on subsequent global iterations.

Upon completion of application of the data detection algorithm to the received codeword on the first global iteration, data detector circuit 330 provides detector output 333. As mentioned above, detected output 333 may be selected as either a positive feedback or a neutral feedback. Detector output 333 includes soft data. As used herein, the phrase “soft data” is used in its broadest sense to mean reliability data with each instance of the reliability data indicating a likelihood that a corresponding bit position or group of bit positions has been correctly detected. In some embodiments of the present invention, the soft data or reliability data is log likelihood ratio data as is known in the art. Detected output 333 is provided to a local interleaver circuit 342. Local interleaver circuit 342 is operable to shuffle sub-portions (i.e., local chunks) of the data set included as detected output and provides an interleaved codeword 346 that is stored to central memory circuit 350. Interleaver circuit 342 may be any circuit known in the art that is capable of shuffling data sets to yield a re-arranged data set. Interleaved codeword 346 is stored to central memory circuit 350.

Once a data decoding circuit 370 is available, a previously stored interleaved codeword 346 is accessed from central memory circuit 350 as a stored codeword 386 and globally interleaved by a global interleaver/de-interleaver circuit 384. Global interleaver/De-interleaver circuit 384 may be any circuit known in the art that is capable of globally rearranging codewords. Global interleaver/De-interleaver circuit 384 provides a decoder input 352 into data decoding circuit 370. In some embodiments of the present invention, the data decode algorithm is a low density parity check algorithm as are known in the art. Based upon the disclosure provided herein, one of ordinary skill in the art will recognize other decode algorithms that may be used in relation to different embodiments of the present invention. Data decoding circuit 370 applies a data decode algorithm to decoder input 352 to yield a decoded output 371. In cases where another local iteration (i.e., another pass trough data decoder circuit 370) is desired, data decoding circuit 370 re-applies the data decode algorithm to decoder input 352 guided by decoded output 371. This continues until either a maximum number of local iterations is exceeded or decoded output 371 converges.

Where decoded output 371 fails to converge (i.e., fails to yield the originally written data set) and a number of local iterations through data decoder circuit 370 exceeds a threshold, the resulting decoded output is provided as decoded output 354 back to central memory circuit 350 where it is stored awaiting another global iteration through a data detector circuit included in data detector circuit 330. As mentioned above, decoded output 354 may be selected as either a positive feedback or a neutral feedback. Prior to storage of decoded output 354 to central memory circuit 350, decoded output 354 is globally de-interleaved to yield a globally de-interleaved output 388 that is stored to central memory circuit 350. The global de-interleaving reverses the global interleaving earlier applied to stored codeword 386 to yield decoder input 352. When a data detector circuit included in data detector circuit 330 becomes available, a previously stored de-interleaved output 388 accessed from central memory circuit 350 and locally de-interleaved by a de-interleaver circuit 344. De-interleaver circuit 344 re-arranges decoder output 348 to reverse the shuffling originally performed by interleaver circuit 342. A resulting de-interleaved output 397 is provided to data detector circuit 330 where it is used to guide subsequent detection of a corresponding data set previously received as equalized output 325.

Alternatively, where the decoded output converges (i.e., yields the originally written data set), the resulting decoded output is provided as an output codeword 372 to a de-interleaver circuit 380. De-interleaver circuit 380 rearranges the data to reverse both the global and local interleaving applied to the data to yield a de-interleaved output 382. De-interleaved output 382 is provided to a hard decision output circuit 390. Hard decision output circuit 390 is operable to re-order data sets that may complete out of order back into their original order. The originally ordered data sets are then provided as a hard decision output 392.

As equalized output 325 is being stored to input buffer 353, a detect quality metric 351 of equalized output 325 is being determined. In particular, equalized output 325 is provided to a loop detector circuit 338 that applies a data detection algorithm to equalized output 325 to yield a detected output 341. In some embodiments of the present invention, loop detector circuit 338 is a simplified version of data detector circuit 330 that is operable to provide detected output 341 as a rough approximation of what detected output 333 will be when data detector circuit 330 applies the data detection algorithm to the same equalized output 325 pulled from input buffer 353. Based upon the disclosure provided herein, one of ordinary skill in the art will recognize a variety of data detector circuits that may be used in relation to different embodiments of the present invention. Detected output 341 is provided to a summation circuit 343 that is operable to subtract equalized output 325 from corresponding instances of detected output 341 to yield a series of error values 347.

Error values 347 are provided to a mean squared error (MSE) calculation circuit 349 that calculates a mean squared error across each codeword received as equalized output 325. The mean squared error value is provided as detect quality metric 351 to quality based priority scheduler circuit 339. In such a case, a higher value of detect quality metric 351 indicates a lower quality. The mean squared error value is calculated in accordance with mean squared error calculations as are known in the art. Alternatively, another error calculation may be used such as, for example, an average error value across the entire codeword. Based upon the disclosure provided herein, one of ordinary skill in the art will recognize a variety of error calculations that may be used in relation to different embodiments of the present invention.

In addition, as codewords are processed through data decoding circuit 370 soft data 377 from decoded output 371 that correspond to unsatisfied checks 379 (i.e., parity equations that could not be satisfied by the decoding algorithm) or errors in the codeword are reported to soft data based quality metric calculation circuit 375. Quality metric calculation circuit 375 uses the received unsatisfied checks 379 and soft data 377 to calculate a decode quality metric 373. FIG. 3 b shows a circuit 600 that may be used to implement soft data based quality metric calculation circuit 375.

Turning to FIG. 3 b, circuit 600 includes a variable node contribution circuit 605. Variable node contribution circuit 605 initializes a local metric value to zero and an updated local metric value to zero, and then updates the local metric using soft data 377 corresponding to each variable node of an unsatisfied check 379. As part of this, the variable node corresponding to the current unsatisfied check with the smallest soft data value (i.e., the variable node that is most likely incorrect) is identified, and the hard decision associated with the variable node is flipped, and the sign of the soft data is changed. For example, for a binary decoded output, the hard decision is switched from 0 to 1, or from 1 to 0. In some cases where the soft data extends from −30 to +30, the sign of the soft data is switched. In contrast, where the soft data extends from, for example 0 to 60, instead of changing the sign of the soft data, a mid value (e.g., 30) is subtracted from the soft data value, the sign is then changed, and then the mid value is re-added to yield the updated value.

In addition, variable node contribution circuit 605 generates a soft data offset corresponding to hard decision of the variable node by assigning a maximum value as the soft data offset where the hard decision is equal to zero, and assigning a minimum value as the soft data offset where the hard decision is equal to one. Thus, for example, where the value of the soft data extends from −30 to +30, the soft data offset is set equal to +30 where the hard decision is zero, or the soft data offset is set equal to −30 where the hard decision is one. Then, the soft data offset is subtracted from the soft data to yield a sum. This sum is then added to the local metric in accordance with the following equation: Local Metric=Local Metric+Soft Data Value−Soft Data Offset. This local metric value is provided as a local metric 607 to a normalization circuit 620 that normalizes it to the number of variable nodes in the current unsatisfied check to yield a normalized local metric 622 in accordance with the following equation: Normalized Local Metric 622=Updated Local Metric 617/No. of USCs/Amplitude, where No. of USCs is the total number of unsatisfied checks remaining in decoded output 371, and Amplitude is the amplitude (i.e., range) of the soft data (e.g., 60 where the soft data extends from −30 to +30).

The processes of variable node contribution circuit 605 and normalization circuit 607 repeated for each variable node associated with an unsatisfied check. Normalized local metric 622 is provided as an interim output to a summation circuit 610 that adds it to an updated local metric 617 to yield a sum value 612. Sum value 612 is maintained by a local metric accumulator memory 615 that provides it as updated local metric 617.

Updated local metric 617 for each unsatisfied check in decoded output 371 are accumulated by adding them to an existing decode quality metric 373 from a decode quality metric memory circuit 630 that is initialized as zero for each decoded output 371. In particular, updated local metric 617 is provided to a summation circuit 610 that sums it with decode quality metric 373 to yield a sum value 627. Sum value 627 is stored to decode quality metric memory circuit 630.

The following pseudocode describes the operation of circuit 600:

Initialize local metric to zero For each unsatisfied check { initialize local metric to zero identify the variable node having the smallest soft data; flip the hard decision from the variable node; change the sign of the soft data; For each variable node of the current unsatisfied check { If hard decision of the variable node equals zero { set soft data offset equal to maximum; } Else if hard decision of the variable node equals one { set soft data offset equal to minimum; } normalize the local metric to the number of variable nodes corresponding to the unsatisfied check; updated local metric = normalized local metric + soft data value − soft data offset; } decode quality metric = decode quality metric + updated local metric; }

Returning to FIG. 3 a, quality based priority scheduler circuit 339 uses detect quality metric 351 and decode quality metric 373 to select the next codeword to be processed by data detector circuit 330 when it becomes available. In particular, the next codeword is either a previously unprocessed codeword from input buffer 353 that is processed by data detector circuit 330 without guidance from de-interleaved output 397 derived from central memory circuit 350, or a previously processed codeword from input buffer 353 that is processed by data detector circuit 330 with guidance from de-interleaved output 397 derived from central memory circuit 350. The selection is indicated to data detector circuit 330 by a codeword selector output 334.

In one particular embodiment of the present invention, quality based priority scheduler circuit 339 causes data detector circuit 330 to select a previously processed codeword from input buffer 353 that is processed by data detector circuit 330 with guidance from de-interleaved output 397 derived from central memory circuit 350 where a decoded output is available and ready for data detection in central memory circuit 350. In such a case, where two or more decoded outputs are available and ready for data detection in central memory circuit 350, quality based priority scheduler circuit 339 selects the decoded output to be provided as de-interleaved output 397 that exhibits the lowest value of decode quality metric 373. Alternatively, where no decoded outputs are available and ready for data detection in central memory circuit 350, quality based priority scheduler circuit 339 causes data detector circuit 330 to select a previously unprocessed codeword from input buffer 353. In such a case, where two or more previously unprocessed codewords are available in input buffer 353, quality based priority scheduler circuit 339 selects the codeword to be processed that exhibits the lowest value of detect quality metric 351. Based upon the disclosure provided herein, one of ordinary skill in the art will recognize a variety of other priority algorithms that may be implemented by quality based priority scheduler circuit 339 in accordance with different embodiments of the present invention.

In addition, decode quality metric 373 is provided to positive feedback control circuit 365. Positive feedback control circuit 365 compares decode quality metric 373 to a threshold value. In some cases, the threshold value is user programmable. In other cases it is fixed. Where the comparison of decode quality metric 373 with the threshold value indicates a high quality (i.e., a low number of remaining errors), positive feedback control 367 is asserted such that positive feedback is selected by one or both of data detector circuit 330 and data decoder circuit 370. Otherwise, where the comparison of decode quality metric 373 with the threshold value does not indicate a high quality (i.e., a larger number of remaining errors), positive feedback control 367 is asserted such that neutral feedback is selected by one or both of data detector circuit 330 and data decoder circuit 370.

FIG. 4 a is a flow diagram 400 showing a method for quality based positive feedback selection in applying a data detection algorithm as part of data processing in accordance with some embodiments of the present invention. Following flow diagram 400 a data set is received (block 460). This data set may be received, for example, from a storage medium or a communication medium. In some cases, the data set is a sector of data. As the data set is received, a detect quality metric is calculated for the data set (block 465). This calculation may include, for example, applying a data detection algorithm or processed to the data set to yield a detected output, and subtracting the detected output from corresponding instances of the received data set to yield an error. The resulting series of errors are then used to calculate a mean squared error value across a number of instances corresponding to a codeword. The mean squared error value is the detect quality metric. Based upon the disclosure provided herein, one of ordinary skill in the art will recognize other priority metrics that may be used in relation to different embodiments of the present invention. The received data set is stored in an input buffer and the detect quality metric is stored in relation to the received data set (block 470).

It is repeatedly determined whether a data set is ready for processing (block 405). A data set may become ready for processing where either the data set was previously processed and a data decode has completed in relation to the data set and the respective decoded output is available in a central memory, or where a previously unprocessed data set becomes available in the input buffer. Where a data set is ready (block 405), it is determined whether a data detector circuit is available to process the data set (block 410).

Where the data detector circuit is available for processing (block 410), it is determined whether there is a decoded output in the central memory that is ready for additional processing (block 415). Where there is not a decoded output in the central memory (block 415), the data set in the input buffer that exhibits the highest quality is selected (block 425). The highest quality is the data set that corresponds to the detect quality metric with the lowest value. In some cases, only one previously unprocessed data set is available in the input buffer. In such cases, the only available data set is selected. The selected data set is accessed from the input buffer (block 430) and a data detection algorithm is applied to the newly received data set (i.e., the first global iteration of the data set) without guidance of a previously decoded output (block 435). In some cases, the data detection algorithm is a Viterbi algorithm data detector circuit or a maximum a posteriori data detector circuit. Application of the data detection algorithm yields a detected output.

Alternatively, where a decoded output is available in the central memory and ready for additional processing (bock 415), the available decoded output in the central memory that exhibits the highest quality is selected (block 445). The highest quality is the decoded output that corresponds to the best decode quality metric (see block 441 of FIG. 4 b). In some cases, only one decoded output is available in the central memory.

It is determined whether the processing data set is high quality (i.e., has fewer than a threshold number of errors remaining) (block 450). The quality of the processing data set may be determined in accordance with the approach discussed below in relation to FIG. 4 c. Where the processing data set is high quality (block 450), it is nearing convergence and in such a condition a positive feedback detected output is selected (block 460). The positive feedback detected output is the raw detected output from the data detector circuit. Alternatively, where the processing data set is not high quality (block 450), it is likely not nearing convergence and in such a condition a neutral feedback detected output is selected (block 455). The neutral feedback detected output is an extrinsic output generated by subtracting the soft data portion of the decoded output provided to the data detector from the raw detected output from the data detector. A derivative of the selected one of the positive feedback detected output or the neutral feedback detected output is stored to the central memory (block 440). The derivative may be, for example, an interleaved or shuffled version of the selected output.

Turning to FIG. 4 b, a flow diagram 401 shows a counterpart of the method described above in relation to FIG. 4 a. Following flow diagram 401, in parallel to the previously described data detection process of FIG. 4 a, it is determined whether a data decoder circuit is available (block 406). The data decoder circuit may be, for example, a low density data decoder circuit as are known in the art. Where the data decoder circuit is available (block 406), it is determined whether a derivative of a detected output is available for processing in the central memory (block 411). Where such a data set is ready (block 411), the previously stored derivative of a detected output is accessed from the central memory and used as a received codeword (block 416). A data decode algorithm is applied to the received codeword to yield a decoded output (block 421). Where a previous local iteration has been performed on the received codeword, the results of the previous local iteration (i.e., a previous decoded output) are used to guide application of the decode algorithm. It is then determined whether the decoded output converged (i.e., resulted in the originally written data) (block 426). Where the decoded output converged (block 426), it is provided as an output codeword (block 431). Alternatively, where the decoded output failed to converge (block 426), it is determined whether another local iteration is desired (block 436). In some cases, ten local iterations are allowed per each global iteration. Based upon the disclosure provided herein, one of ordinary skill in the art will recognize another number of local iterations that may be used in relation to different embodiments of the present invention. Where another local iteration is desired (block 436), the processes of blocks 406-436 are repeated for the codeword. Alternatively, where another local iteration is not desired (block 436), a decode quality metric is calculated based at least in part on soft data in the decoded output (block 441). This block is shown in dashed lines indicating that a flow diagram 402 of FIG. 4 c shows additional detail of block 441.

It is determined whether the processing data set is high quality (i.e., has fewer than a threshold number of errors remaining) (block 451). The quality of the processing data set may be determined in accordance with the approach discussed below in relation to FIG. 4 c. Where the processing data set is high quality (block 451), it is nearing convergence and in such a condition a positive feedback detected output is selected (block 461). The positive feedback detected output is the raw decoded output from the data decoder circuit. Alternatively, where the processing data set is not high quality (block 450), it is likely not nearing convergence and in such a condition a neutral feedback detected output is selected (block 456). The neutral feedback detected output is an extrinsic output generated by subtracting the soft data portion of the decoded output fed back to guide the data decoding process from the raw decoded output from the data decoder circuit. The selected one of the positive feedback decoded output or the neutral feedback detected output is stored to the central memory (block 446). The decoded output being stored to the central memory triggers the data set ready query of block 405 to begin the data detection process.

Turning to FIG. 4 c, a flow diagram 402 shows a method in accordance with some embodiments of the present invention for calculating the decode quality metric of block 441 of flow diagram 401 discussed above in relation to FIG. 4 b. Following flow diagram 402, the decode quality metric is initialized to zero, and a local metric is initialized to zero (block 407). A first unsatisfied check in the decoded output is selected (block 412). A variable node connected to the unsatisfied check that exhibits the smallest soft data value (i.e., the variable node that is most likely incorrect) is identified (block 417). The hard decision corresponding to the identified variable node is modified, and the sign of the soft data associated with the identified node is changed (block 422). For example, for a binary decoded output, the hard decision is switched from 0 to 1, or from 1 to 0. In some cases where the soft data extends from −30 to +30, the sign of the soft data is switched. In contrast, where the soft data extends from, for example 0 to 60, instead of changing the sign of the soft data, a mid value (e.g., 30) is subtracted from the soft data value, the sign is then changed, and then the mid value is re-added to yield the updated value.

A first variable node corresponding to the selected unsatisfied checks is selected (block 427). It is determined whether the hard decision associated with the current variable node is zero (block 432). Where the current variable node is zero (block 432), a soft data offset is set equal to a maximum positive value (block 437). Thus, for example, where the value of the soft data extends from −30 to +30, the soft data offset is set equal to +30. Otherwise, where the current variable node is not zero (block 432), a soft data offset is set equal to a minimum negative value (block 442). Thus, using the same example, where the value of the soft data extends from −30 to +30, the soft data offset is set equal to −30. In either case, the local metric is updated by adding the sum of the soft data less the soft data offset to the local metric (block 447). The following equation describes the operation of block 447: Local Metric=Local Metric+Soft Data Value−Soft Data Offset. The local metric is then normalized to the number of variable nodes associated with the current unsatisfied check to yield a normalized local metric (block 492). The normalized local metric may be calculated in accordance with the following equation: Normalized Local Metric=Local Metric/Number of Variable Nodes/Amplitude, where Amplitude is the amplitude (i.e., range) of the soft data (e.g., 60 where the soft data extends from −30 to +30). An updated local metric is then calculated by adding the normalized local metric to the updated local metric (block 497). This may be done in accordance with the following equation: Updated Local Metric=Updated Local Metric+Normalized Local Metric.

It is determined whether another variable node corresponds to the selected unsatisfied check (block 452). Where another variable node remains (block 452), the next variable node corresponding to the unsatisfied check is selected (block 457), and the processes of blocks 432, 437, 442, 447, 492, 497 are repeated for the next variable node resulting in further updating of the local metric. Alternatively, where no additional variable nodes remain (block 452), the decode quality metric is updated by adding the updated local metric to the decode quality metric (block 467). The following equation describes the operation of block 467: Decode Quality Metric=Decode Quality Metric+Updated Local Metric.

It is determined whether another unsatisfied check remains to be processed (block 472). Where another unsatisfied check remains (block 472), the next unsatisfied check is selected (block 477) and the local metric is re-initialized to zero in preparation for the next calculation (block 487), and the processes of blocks 417, 422, 427, 432, 437, 442, 447, 492, 497, 452, 467, 472 are repeated for the next unsatisfied check resulting in further updating of the decode quality metric. Alternatively, where no additional unsatisfied checks remain (block 472), the decode quality metric is provided (block 482).

It should be noted that the various blocks discussed in the above application may be implemented in integrated circuits along with other functionality. Such integrated circuits may include all of the functions of a given block, system or circuit, or a subset of the block, system or circuit. Further, elements of the blocks, systems or circuits may be implemented across multiple integrated circuits. Such integrated circuits may be any type of integrated circuit known in the art including, but are not limited to, a monolithic integrated circuit, a flip chip integrated circuit, a multichip module integrated circuit, and/or a mixed signal integrated circuit. It should also be noted that various functions of the blocks, systems or circuits discussed herein may be implemented in either software or firmware. In some such cases, the entire system, block or circuit may be implemented using its software or firmware equivalent. In other cases, the one part of a given system, block or circuit may be implemented in software or firmware, while other parts are implemented in hardware.

In conclusion, the invention provides novel systems, devices, methods and arrangements for priority based data processing. While detailed descriptions of one or more embodiments of the invention have been given above, various alternatives, modifications, and equivalents will be apparent to those skilled in the art without varying from the spirit of the invention. Therefore, the above description should not be taken as limiting the scope of the invention, which is defined by the appended claims. 

What is claimed is:
 1. A data processing system, the data processing system comprising: a data processing circuit operable to re-apply a data processing algorithm to a data set using a processing feedback; a data quality determination circuit operable to indicate a quality of the data set; and an output selector circuit operable to select between a positive feedback and a neutral feedback based at least in part on the quality to yield the processing feedback.
 2. The data processing system of claim 1, wherein the data processing circuit comprises: a data detector circuit operable to apply a data detection algorithm to the data set guided by a decoder output to yield the positive feedback; and a summation circuit operable to subtract the decoder output from the positive feedback to yield the neutral feedback.
 3. The data processing system of claim 2, wherein the data detector circuit is selected from a group consisting of: a Viterbi algorithm data detector circuit, and a maximum a posteriori data detector circuit.
 4. The data processing system of claim 1, wherein the data processing circuit comprises: a data decoder circuit operable to apply a data decode algorithm to the data set guided by a decoder output to yield the positive feedback; and a summation circuit operable to subtract the decoder output from the positive feedback to yield the neutral feedback.
 5. The data processing system of claim 1, wherein the data decoder circuit is a low density parity check decoder circuit.
 6. The data processing system of claim 1, wherein the quality of the data set corresponds to a number of errors remaining in the data set after application of the data processing algorithm.
 7. The data processing system of claim 6, wherein the system further comprises: a comparator circuit operable to compare the quality of the data set with a threshold value, wherein selection between the positive feedback and the neutral feedback is based on a result of the comparison of the quality of the data set with a threshold value.
 8. The data processing system of claim 1, wherein the system is implemented as an integrated circuit.
 9. The data processing system of claim 1, wherein the system is incorporated in a device selected from a group consisting of: a storage device, and a data transmission device.
 10. A method for data processing, the method comprising: applying a data decode algorithm by a data decoder circuit to a decoder input derived from a data set guided by an interim decoded output to yield a positive feedback; calculating a quality metric for the data set; subtracting the interim decoded output from the positive feedback to yield a neutral feedback; selecting one of the positive feedback and the neutral feedback as an updated decoded output based at least in part on the quality metric; and re-applying the data decode algorithm to using the updated decoded output.
 11. The method of claim 10, wherein the data decoder circuit is a low density parity check decoder circuit.
 12. The method of claim 10, the method further comprising: applying a data detection algorithm to the data set guided by the updated decoded output to yield a raw detected output.
 13. The method of claim 12, wherein the data detection algorithm is applied by a data detector circuit selected from a group consisting of: a Viterbi algorithm data detector circuit, and a maximum a posteriori data detector circuit.
 14. The method of claim 12, wherein the positive feedback is a first positive feedback, wherein the neutral feedback is a first neutral feedback; and wherein the method further comprises: wherein the raw detected output is a second positive feedback; subtracting the updated decoded output from the raw detected output to yield a second neutral feedback; and selecting one of the second positive feedback and the second neutral feedback as an updated detected output based at least in part on the quality metric, wherein the decoder input derived from the updated detected output.
 15. The method of claim 10, wherein the method further comprises: comparing the quality metric with a threshold value to yield a comparison value, and wherein the selecting one of the positive feedback and the neutral feedback as the updated decoded output is based on the comparison value.
 16. The method of claim 15, the method further comprising: programming the threshold value.
 17. A storage device, the storage device comprising: a storage medium; a head assembly disposed in relation to the storage medium and operable to provide a sensed signal corresponding to information on the storage medium; a read channel circuit including: an analog to digital converter circuit operable to sample an analog signal derived from the sensed signal to yield a series of digital samples; an equalizer circuit operable to equalize the digital samples to yield a data set; a data processing circuit operable to re-apply a data processing algorithm to the data set using a processing feedback; a data quality determination circuit operable to indicate a quality corresponding to the data set; and an output selector circuit operable to select between a positive feedback and a neutral feedback based at least in part on the quality.
 18. The storage device of claim 17, wherein the storage device further comprises: a data detector circuit operable to apply a data detection algorithm to the data set guided by a decoder output to yield the positive feedback; and a summation circuit operable to subtract the decoder output from the positive feedback to yield a neutral feedback.
 19. The storage device of claim 17, wherein the storage device further comprises: a data decoder circuit operable to apply a data decode algorithm to a decoder input derived from the data set guided by a decoder output to yield the positive feedback; and a summation circuit operable to subtract the decoder output from the positive feedback to yield a neutral feedback.
 20. The storage device of claim 19, wherein the decoder output is a first decoder output, wherein the positive feedback is a first positive feedback and the neutral feedback is a first neutral feedback, and wherein the storage device further comprises: a data detector circuit operable to apply a data detection algorithm to the data set guided by a second decoder output to yield a second positive feedback; and a summation circuit operable to subtract the second decoder output from the second positive feedback to yield a second neutral feedback. 